<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<link rel="icon" href="favicon.ico" type="image/x-icon"/>
<title>修改登录密码-权限管理-{$site.BACK_NAME}</title>
<include file="Public:jscss"/>
</head>
<body>
<div class="wrap">
 <include file="Public:head"/>
 <div class="mainBody">
  <include file="Public:left"/>
  <div id="Right">
   <div class="contentArea">
    <div class="Item hr">
     <div class="current">修改登录密码</div>
    </div>
    <form action="" method="post">
     <table width="100%" border="0" cellspacing="0" cellpadding="0" class="table1">
      <tr>
       <th width="120">账号邮件地址：</th>
       <td><input disabled="disabled" name="email" type="text" class="input" size="40" value="{$email}" /></td>
      </tr>
	  <tr>
       <th>原密码：</th>
       <td><input class="input" name="pwd0" type="password" size="40" value="" /></td>
      </tr>
      <tr>
       <th>新密码：</th>
       <td><input class="input" name="pwd" type="password" size="40" value="" /></td>
      </tr>
	  <tr>
       <th>确认密码：</th>
       <td><input class="input" name="pwd2" type="password" size="40" value="" /></td>
      </tr>
     </table>
    </form>
    <div class="commonBtnArea">
     <button class="btn cfz_submit">提交</button>
    </div>
   </div>
  </div>
 </div>
</div>
<div class="clear"></div>
<include file="Public:foot"/>
<script type="text/javascript">
$(function(){
	//表单提交
	$(".cfz_submit").click(function(){
		if($.trim($("input[name='pwd0']").val())==''){
			$.jBox.tip('原密码不能为空', 'info');
            return false;
        }
        if($.trim($("input[name='pwd']").val())==''){
			$.jBox.tip('新密码不能为空', 'info');
            return false;
        }
		if($.trim($("input[name='pwd']").val()) !== $.trim($("input[name='pwd2']").val())){
			$.jBox.tip('两次密码不相同!', 'info');
            return false;
        }
		commonAjaxSubmit();
    });
});
</script>
</body>
</html>